//
//  UIAlertView+Utilities.h
//  SAPCRMWebServices
//
//  Created by SAP IT on 13/09/11.
//  All rights reserved.
//

#import <UIKit/UIKit.h>

/**
 @brief Adds utility functions to UIAlertView class
 
 This is a category on UIAlertView that implements methods, commonly used in all 
 application
 @author Rolands Mucenieks
 @date 13/09/11
 */
@interface UIAlertView(UIAlertView_Utilities)

/**
 @brief Displays the receiver with given title and message using animation.
 
 Receiver will be initialized with given title and message and will contain
 cancel button wit localized title "OK".
 
 @param title The string that appears in the receiver’s title bar.
 @param message Descriptive text that provides more details than the title.
 */

+ (void)showAlertViewWithTitle:(NSString *)title 
                       message:(NSString *)message 
                   andDelegate:(id <UIAlertViewDelegate>)delegate;

@end
